package com.attms.service;

import com.attms.domain.Absent;

import java.time.LocalDate;
import java.time.LocalTime;
import java.util.List;

public interface IDManagerService {
    // 部门经理审批请假
    // boolean solveLeave(Integer departmentId,Integer absenctId,boolean isagree,
    // String reason);
    boolean solveLeave(Integer isagree, Absent absent);

    // 部门经理生成个人请假记录(按照时间，默认为全时间段)
    List<Absent> getPersonalAbsentList(Absent absent);

    // 部门经理生成本部分请假记录(按照时间，默认为全时间段)
    // List<Absent> getAllAbsentList(Integer departmentId,String st, String ed);
    List<Absent> getAllAbsentList(Integer department, Absent absent);

    // 測試用：不加區分获取所有人的请假记录
    List<Absent> getAbsentList(Integer department);
    List<Absent> getAbsentListNosolve(Integer department);
}
